X86: Fix mce offline page bug
authorLiu, Jinsong <jinsong.liu@intel.com>
Thu, 7 Apr 2011 11:12:01 +0000 (12:12 +0100)
committerLiu, Jinsong <jinsong.liu@intel.com>
Thu, 7 Apr 2011 11:12:01 +0000 (12:12 +0100)
commit51402ed6092b02882f6483f94137c420bdd0e234
treece86e0c2a9631a837db406101703400181bd6906
parentfd6ee4bb06ec232346892cc805730e939d710e62
X86: Fix mce offline page bug

c/s 19913 break mce offline page logic:
For page_state_is(pg, free), it's impossible to trigger the case;
For page_state_is(pg, offlined), it in fact didn't offline related
page;

This patch fix the bug, and remove an ambiguous comment.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
xen/common/page_alloc.c